package com.xgy.ordering.dto;

/**
 * 性能测试请求DTO
 */
public class TestRequest {
    private int dataSize;
    private String testType;
    private int iterations;

    // 默认构造函数
    public TestRequest() {
    }

    // 带参构造函数
    public TestRequest(int dataSize, String testType, int iterations) {
        this.dataSize = dataSize;
        this.testType = testType;
        this.iterations = iterations;
    }

    // Getter和Setter方法
    public int getDataSize() { 
        return dataSize; 
    }
    
    public void setDataSize(int dataSize) { 
        this.dataSize = dataSize; 
    }

    public String getTestType() { 
        return testType; 
    }
    
    public void setTestType(String testType) { 
        this.testType = testType; 
    }

    public int getIterations() { 
        return iterations; 
    }
    
    public void setIterations(int iterations) { 
        this.iterations = iterations; 
    }

    @Override
    public String toString() {
        return "TestRequest{" +
                "dataSize=" + dataSize +
                ", testType='" + testType + '\'' +
                ", iterations=" + iterations +
                '}';
    }
}